/*
 * Copyright (C) 2012 CNL - ECE Dept - National University of Singapore
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
package sg.nus.ece.cnl.veracity.configuration;

import org.apache.commons.configuration.Configuration;

/**
 *
 * @author tram
 */
public class VeracityDefaultValues {

    private static Configuration config = VeracityConfiguration.getConfiguration();

    /**
     * Get the xen server host name of IP address
     * @return xen server host name or IP
     */
    public static String getDefaultXenServerHostname() {
        return config.getString("veracity.xen.server.hostname");
    }
    
    /**
     * Get the username used for login into xen server
     * @return username
     */
    public static String getDefaultXenServerUserLogin() {
        return config.getString("veracity.xen.server.username");
    }
    
    /**
     * Get the password used for login into xen server
     * @return user password
     */
    public static String getDefaultXenServerUserPassword() {
        return config.getString("veracity.xen.server.password");
    }
    
    /**
     * Get the username used for login into hadoop vm instance
     * @return username
     */
    public static String getDefaultHadoopUserLogin() {
        return config.getString("veracity.hadoop.username");
    }
    
    /**
     * Get the password used for login into hadoop vm instance
     * @return user password
     */
    public static String getDefaultHadoopUserPassword() {
        return config.getString("veracity.hadoop.password");
    }
    
    /**
     * Get the password used for login into hadoop vm instance
     * @return user password
     */
    public static String getDefaultHadoopHome() {
        return config.getString("veracity.hadoop.home");
    }
}
